import { $t } from "@/plugins/i18n";
const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "Home",
  component: Layout,
  redirect: "/test-case-management",
  meta: {
    icon: "ep:home-filled",
    title: $t("menus.pureHome"),
    rank: 0
  },
  children: [
    {
      path: '/test-case-management',
      name: 'TestCaseManagement',
      component: () => import('@/views/testcase/testCaseManagement.vue'),
      meta: {
        title: "测试用例管理",
        icon: 'ep:file'
      }
    },
    {
      path: '/test-step-editor',
      name: 'TestStepEditorPage',
      component: () => import('@/views/testcase/testStepEditorPage.vue'),
      meta: {
        title: "编辑测试步骤"
      }
  
    },
  ]
} satisfies RouteConfigsTable;
